package net.itheima.mm.service.impl;

import net.itheima.mm.dao.UserDao;
import net.itheima.mm.pojo.User;
import net.itheima.mm.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author zhangyan
 * @date 2021/2/25 15:23
 */

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UserDao userDao;

    @Override
    public User login(User user) {
        return userDao.login(user);
    }
}
